// @ts-ignore
/* eslint-disable */
import request from "../request/request";

/** addCompanyProfile POST /api/companyProfile/add */
export async function addCompanyProfileUsingPost(body, options) {
  return request("/api/companyProfile/add", {
    method: "POST",
    headers: {
      "Content-Type": "application/json",
    },
    data: body,
    ...(options || {}),
  });
}

/** deleteCompanyProfile POST /api/companyProfile/delete */
export async function deleteCompanyProfileUsingPost(body, options) {
  return request("/api/companyProfile/delete", {
    method: "POST",
    headers: {
      "Content-Type": "application/json",
    },
    data: body,
    ...(options || {}),
  });
}

/** editCompanyProfile POST /api/companyProfile/edit */
export async function editCompanyProfileUsingPost(body, options) {
  return request("/api/companyProfile/edit", {
    method: "POST",
    headers: {
      "Content-Type": "application/json",
    },
    data: body,
    ...(options || {}),
  });
}

/** getCompanyProfileVOById GET /api/companyProfile/get/vo */
export async function getCompanyProfileVoByIdUsingGet(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options
) {
  return request("/api/companyProfile/get/vo", {
    method: "GET",
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** listCompanyProfileByPage POST /api/companyProfile/list/page */
export async function listCompanyProfileByPageUsingPost(body, options) {
  return request("/api/companyProfile/list/page", {
    method: "POST",
    headers: {
      "Content-Type": "application/json",
    },
    data: body,
    ...(options || {}),
  });
}

/** listCompanyProfileVOByPage POST /api/companyProfile/list/page/vo */
export async function listCompanyProfileVoByPageUsingPost(body, options) {
  return request("/api/companyProfile/list/page/vo", {
    method: "POST",
    headers: {
      "Content-Type": "application/json",
    },
    data: body,
    ...(options || {}),
  });
}

/** listMyCompanyProfileVOByPage POST /api/companyProfile/my/list/page/vo */
export async function listMyCompanyProfileVoByPageUsingPost(body, options) {
  return request("/api/companyProfile/my/list/page/vo", {
    method: "POST",
    headers: {
      "Content-Type": "application/json",
    },
    data: body,
    ...(options || {}),
  });
}

/** updateCompanyProfile POST /api/companyProfile/update */
export async function updateCompanyProfileUsingPost(body, options) {
  return request("/api/companyProfile/update", {
    method: "POST",
    headers: {
      "Content-Type": "application/json",
    },
    data: body,
    ...(options || {}),
  });
}
